<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
    <link rel="shortcut icon" href="favicon.ico">
	<link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link rel="stylesheet" href="css/iconfont.css">
    <link rel="stylesheet" href="css/sweetalert.css" type="text/css"></link>
    <link rel="stylesheet" href="css/base.css" type="text/css"></link>
    <!-- jqgrid-->
    <link href="css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

	<script type="text/javascript" src="js/sweetalert.min.js"></script>
    <script type="text/javascript" src="utils/jedate/jedate.js"></script>
    <!--<script src="Myjs/index.js"></script>-->
    <style>
        /* Additional style to fix warning dialog position */

        #alertmod_table_list_2 {
            top: 900px !important;
        }
        #jedatebox{
            z-index: 9999 !important;
        }
        #jedatebox .jedatehms{
            display: none;
        }
        #jedatebox .jedatebtn{
            margin: 0 auto;
            float: none;
        }
        #jedatebox .jedateok{
            display: none;
        }
        #jedatebox .jedateclear{
            margin-left: 20px;
        }
        label.col-sm-1{
            margin-top: 10px;
            padding: 0;
            width: auto;
        }
        #timeInterval{
            width: 62px;
            margin: 0 5px;
            color: #fff;
        }
        #timeInterval.success{
            background-color: #ccc;
            color: #000;
        }
        .btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary.active[disabled], fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active{
            background-color: #1ab394;
        }
        .cr{
            color: red;
            margin-left: 5px;
        }
        .form-control{
            max-width: 100%;
        }
        .col-sm-auto{
            width: auto;
        }
        .index{
            width: 5em;
        }
        .allUpdate{
            display: inline-block;
            margin: 5px;
        }
        .add-name-warn{
            position: absolute;
            color: #ea5d5f !important;
            font-size: 12px;
            right: 23px;
            top: 10px;
        }
        label.col-sm-1{
            margin-top: 10px;
            padding: 0;
            width: auto;
        }
        .add-name-warn i{
            display: inline-block;
            vertical-align: middle;
            color: #ea5d5f;
            font-size: 16px;
            margin-top: -3px;
            margin-left: 5px;
        }
        .change-name-warn{
            position: absolute;
            color: #ea5d5f !important;
            font-size: 12px;
            right: 23px;
            top: 10px;
        }
        .change-name-warn i{
            display: inline-block;
            vertical-align: middle;
            color: #ea5d5f;
            font-size: 16px;
            margin-top: -3px;
            margin-left: 5px;
        }

        /*
                .checkRoomName{
                    width: 15em;
                    min-width: 10em;
                }
                .checkRoomDisplayName{
                    width: 15em;
                    min-width: 10em;
                }
                .departmentName{
                    width: 15em;
                    min-width: 10em;
                }
                .queuePrefix{
                    width: 15em;
                    min-width: 10em;
                }
                .checkIntroduction{
                    min-width: 15em;
                }
        */
        .time{
            width: 14em;
        }
        .state{
            width: 4em;
        }
    </style></head>

<body class="gray-bg">



    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox ">
                    <div class="ibox-title">
                        <h5>检查室信息维护</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-group clearfix">
                            <label for="checkRoomName" class="col-sm-1" style="margin-left: 0px;">检查室名</label>
                            <div class="col-sm-3" style="width: auto;margin-left: -4px;">
                                <input type="text" class="form-control starTime" id="checkRoomName" placeholder="检查室" style="width: 197px;">
                            </div>
                            <label for="checkRoomDisPlayName" class="col-sm-1" style="text-align: right;width: 100px;">显示名称</label>
                            <div class="col-sm-2" style="width: auto">
                                <input type="text" class="form-control starTime" id="checkRoomDisPlayName" placeholder="显示名称" style="width: 197px;">
                            </div>
                            <button id="queryMenu" type="button" class="btn btn-primary">查询</button>
                            <button id="addCheckRoom" type="button" class="btn btn-primary" href="#" data-toggle="modal" data-target='#myModal_add'>新增</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-content">
				<div role="tabpanel" class="tab-pane active" id="home">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-striped table-bordered table-hover">
						<tbody id="TeamSignedUser">
						</tbody>
					</table>
				</div>

			</div>
    </div>

    <!-- 修改弹出层 -->
     <div class="modal fade" id="myModal_update" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="addModelClose">&times;</button>
                    <h4 class="modal-title" id="addModelTotleMenu">修改检查室信息</h4>
                </div>
                <form class="form-horizontal m-t" id="addModelCommentForm" novalidate="novalidate">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">检查室名<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <input id="editModelName" type="text" value="检查室一" class="form-control" name="checkRoomName" required="" aria-required="true"  />
                            <span class="change-name-warn change-deptName-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">所属科室<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <!--<input userId="editModelDepartment" userType="text" value="科室一" class="form-control" name="checkRoomName" required="" aria-required="true"  />-->
                            <select id="editModelDepartment" class="form-control" name="editModelDepartment" required="" aria-required="true">
                            </select>
                            <span class="change-name-warn change-dept-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">显示名称</label>
                        <div class="col-sm-8">
                            <input id="editModelDisplayName" type="text" class="form-control" name="checkRoomDisplayName" required="" aria-required="true">
                            <span class="change-name-warn change-displayName-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">排队序号前缀<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <input id="editModelQueryPreFix" type="text" class="form-control" name="queryPreFix" required="" aria-required="true">
                            <span class="change-name-warn change-preFix-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>

<!--
                    <div class="form-group">
                        <label class="col-sm-3 control-label">检查室简介</label>
                        <div class="col-sm-8">
                            <textarea name="checkIntroduction" userId="checkIntroduction" class="form-control" style="width: 100%" rows="5"></textarea>
                        </div>
                    </div>
-->
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-8">
                            <button class="btn btn-primary" id="submitMenu_update" type="button">提交</button>
                            <button type="button" class="btn btn-default" data-dismiss="modal" id="cancle">取消</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- 新增弹出层 -->
    <div class="modal fade" id="myModal_add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="addModelClose">&times;</button>
                    <h4 class="modal-title" id="addCheckRoomMenu">新增检查室信息</h4>
                </div>
                <form class="form-horizontal m-t" id="addForm" novalidate="novalidate">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">检查室ID<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <input id="addCheckId" type="text" value="" class="form-control" name="checkRoomName" required="" aria-required="true"  />
                            <span class="change-name-warn add-checkId-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">检查室名<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <input id="addCheckName" type="text" value="" class="form-control" name="checkRoomName" required="" aria-required="true"  />
                            <span class="change-name-warn add-checkName-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">所属科室<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <!--<input userId="editModelDepartment" userType="text" value="科室一" class="form-control" name="checkRoomName" required="" aria-required="true"  />-->
                            <select id="addDeptId" class="form-control" name="editModelDepartment" required="" aria-required="true">
                            </select>
                            <span class="change-name-warn add-deptId-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">显示名称</label>
                        <div class="col-sm-8">
                            <input id="addDisplayName" type="text" class="form-control" name="checkRoomDisplayName" required="" aria-required="true">
                            <span class="change-name-warn add-displayName-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">排队序号前缀<span style="color: red;"> *</span></label>
                        <div class="col-sm-8">
                            <input id="addQueryPreFix" type="text" class="form-control" name="queryPreFix" required="" aria-required="true">
                            <span class="change-name-warn add-preFix-err hide"><em></em><i class="icon-warn"></i></span>
                        </div>
                    </div>

                    <!--
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">检查室简介</label>
                                            <div class="col-sm-8">
                                                <textarea name="checkIntroduction" userId="checkIntroduction" class="form-control" style="width: 100%" rows="5"></textarea>
                                            </div>
                                        </div>
                    -->
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-8">
                            <button class="btn btn-primary" id="submitMenu_add" type="button">提交</button>
                            <button type="button" class="btn btn-default" data-dismiss="modal" id="addcancle">取消</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>



    <!-- 全局js -->
    <script src="js/jquery-1.9.1.min.js?v=1.9.1"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <!-- Peity -->
    <script src="js/plugins/peity/jquery.peity.min.js"></script>

    <!-- jqGrid -->
    <script src="js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
    <script src="js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>

    <!-- 自定义js -->
    <script type="text/javascript" src="Myjs/index.js"></script>
    <script src="js/content.js?v=1.0.0"></script>
	<script type="text/javascript" src="Myjs/checkroomManagement.js"></script>
    <!--统计代码，可删除-->
<!--    <script>
        jeDate({
            dateCell:".starTime",
            format:"YYYY-MM-DD",
            isTime:true
        });
        jeDate({
            dateCell:".endTime",
            format:"YYYY-MM-DD",
            isTime:true
        });
        jeDate({
            dateCell:".addTime",
            format:"YYYY-MM-DD hh:mm:ss",
            isTime:true
        });
    </script>-->
</body>

</html>
